.class public Lcom/netease/mobistat/client/pipeline/WhoAmIClientPipelineFactory;
.super Ljava/lang/Object;
.source "WhoAmIClientPipelineFactory.java"

# interfaces
.implements Lorg/jboss/netty/channel/ChannelPipelineFactory;


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 20
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 22
    return-void
.end method


# virtual methods
.method public getPipeline()Lorg/jboss/netty/channel/ChannelPipeline;
    .locals 3
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Exception;
        }
    .end annotation

    .prologue
    .line 30
    invoke-static {}, Lorg/jboss/netty/channel/Channels;->pipeline()Lorg/jboss/netty/channel/ChannelPipeline;

    move-result-object v0

    .line 32
    .local v0, pipeline:Lorg/jboss/netty/channel/ChannelPipeline;
    const-string v1, "decoder"

    new-instance v2, Lorg/jboss/netty/handler/codec/string/StringDecoder;

    invoke-direct {v2}, Lorg/jboss/netty/handler/codec/string/StringDecoder;-><init>()V

    invoke-interface {v0, v1, v2}, Lorg/jboss/netty/channel/ChannelPipeline;->addLast(Ljava/lang/String;Lorg/jboss/netty/channel/ChannelHandler;)V

    .line 33
    const-string v1, "encoder"

    new-instance v2, Lorg/jboss/netty/handler/codec/string/StringEncoder;

    invoke-direct {v2}, Lorg/jboss/netty/handler/codec/string/StringEncoder;-><init>()V

    invoke-interface {v0, v1, v2}, Lorg/jboss/netty/channel/ChannelPipeline;->addLast(Ljava/lang/String;Lorg/jboss/netty/channel/ChannelHandler;)V

    .line 36
    const-string v1, "handler"

    new-instance v2, Lcom/netease/mobistat/client/Handler/WhoAmIClientHandler;

    invoke-direct {v2}, Lcom/netease/mobistat/client/Handler/WhoAmIClientHandler;-><init>()V

    invoke-interface {v0, v1, v2}, Lorg/jboss/netty/channel/ChannelPipeline;->addLast(Ljava/lang/String;Lorg/jboss/netty/channel/ChannelHandler;)V

    .line 38
    return-object v0
.end method
